﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Threading;
namespace SetupLauncher.UI
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form form = null;
            if (args.Length > 0)
            {
                string param = args[0];
                if (param == "/config")
                    form = new Configuration();
                else
                    form = new Main();
            }
            else
            {
                form = new Main();
            }
            Application.Run(form);
        }
    }
}
